﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body style="background-color:White">
    

    <pre style="font-family: Consolas; font-size: 13; color: black; background: white;"><span 
        style="color:blue;">using</span>&nbsp;System;
<span style="color:blue;">using</span>&nbsp;System.Data;
<span style="color:blue;">using</span>&nbsp;System.Data.SqlClient;
<span style="color:blue;">using</span>&nbsp;System.Collections.Generic;
<span style="color:blue;">using</span>&nbsp;Delta_util.Estaticos;
<span style="color:blue;">using</span>&nbsp;Delta_entidad.Base;
<span style="color:blue;">using</span>&nbsp;Delta_entidad.Atributos;
<span style="color:blue;">namespace</span>&nbsp;SitioINewThreadSoft.Entidades
{
&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">Serializable</span>]
&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttEntidad</span>(<span style="color:#a31515;">&quot;cat_departamento&quot;</span>,&nbsp;<span 
        style="color:#a31515;">&quot;id_departamento&quot;</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;50,&nbsp;<span 
        style="color:blue;">true</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_OPERACION_GRID</span>.INSERTAR,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_OPERACION_GRID</span>.ACTUALIZAR,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_OPERACION_GRID</span>.ELIMINAR)]
&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;<span style="color:blue;">class</span>&nbsp;<span 
        style="color:#2b91af;">cat_departamento</span>&nbsp;:&nbsp;<span 
        style="color:#2b91af;">TipoBase</span>,&nbsp;<span style="color:#2b91af;">ITipo</span>
&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;System.<span 
        style="color:#2b91af;">Int16</span>&nbsp;_id_departamento;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;System.<span 
        style="color:#2b91af;">String</span>&nbsp;_nombre;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;System.<span 
        style="color:#2b91af;">String</span>&nbsp;_siglas;
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttrParametro</span>(System.Data.<span 
        style="color:#2b91af;">SqlDbType</span>.SmallInt,&nbsp;5,&nbsp;<span 
        style="color:blue;">null</span>,&nbsp;System.Data.<span style="color:#2b91af;">ParameterDirection</span>.Input,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.INSERTAR,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.OBTENER,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.ELIMINAR)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttPropiedad</span>(<span 
        style="color:#a31515;">&quot;Clave&quot;</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;<span 
        style="color:blue;">false</span>,&nbsp;<span style="color:blue;">false</span>,&nbsp;<span 
        style="color:blue;">false</span>,&nbsp;<span style="color:#2b91af;">Enumerados</span>.<span 
        style="color:#2b91af;">TIPO_EDITOR</span>.TEXBOX,&nbsp;<span style="color:blue;">null</span>,&nbsp;0)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;System.<span style="color:#2b91af;">Int16</span>&nbsp;id_departamento
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">get</span>&nbsp;{&nbsp;<span style="color:blue;">return</span>&nbsp;_id_departamento;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">set</span>&nbsp;{&nbsp;_id_departamento&nbsp;=&nbsp;<span 
        style="color:blue;">value</span>;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttrParametro</span>(System.Data.<span 
        style="color:#2b91af;">SqlDbType</span>.VarChar,&nbsp;100,&nbsp;<span 
        style="color:blue;">null</span>,&nbsp;System.Data.<span style="color:#2b91af;">ParameterDirection</span>.Input,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.INSERTAR)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttPropiedad</span>(<span 
        style="color:#a31515;">&quot;Nombre&quot;</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;<span 
        style="color:blue;">false</span>,&nbsp;<span style="color:blue;">false</span>,&nbsp;<span 
        style="color:blue;">true</span>,&nbsp;<span style="color:#2b91af;">Enumerados</span>.<span 
        style="color:#2b91af;">TIPO_EDITOR</span>.TEXBOX,&nbsp;<span style="color:blue;">null</span>,&nbsp;1)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;System.<span style="color:#2b91af;">String</span>&nbsp;nombre
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">get</span>&nbsp;{&nbsp;<span style="color:blue;">return</span>&nbsp;_nombre;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">set</span>&nbsp;{&nbsp;_nombre&nbsp;=&nbsp;<span 
        style="color:blue;">value</span>;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttrParametro</span>(System.Data.<span 
        style="color:#2b91af;">SqlDbType</span>.VarChar,&nbsp;5,&nbsp;<span 
        style="color:blue;">null</span>,&nbsp;System.Data.<span style="color:#2b91af;">ParameterDirection</span>.Input,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.INSERTAR)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttPropiedad</span>(<span 
        style="color:#a31515;">&quot;Siglas&quot;</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;<span 
        style="color:blue;">false</span>,&nbsp;<span style="color:blue;">false</span>,&nbsp;<span 
        style="color:blue;">true</span>,&nbsp;<span style="color:#2b91af;">Enumerados</span>.<span 
        style="color:#2b91af;">TIPO_EDITOR</span>.TEXBOX,&nbsp;<span style="color:blue;">null</span>,&nbsp;2)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;System.<span style="color:#2b91af;">String</span>&nbsp;siglas
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">get</span>&nbsp;{&nbsp;<span style="color:blue;">return</span>&nbsp;_siglas;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">set</span>&nbsp;{&nbsp;_siglas&nbsp;=&nbsp;<span 
        style="color:blue;">value</span>;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 
 
&nbsp;&nbsp;&nbsp;&nbsp;}
}
</pre>
    

</body>
</html>
